﻿#Warn
;SendMode("InputThenPlay")
;SendMode("event")
SendMode("Input")
SetWorkingDir(A_ScriptDir)

keyFunc1(key){
  ;sendMessage(0x0104, 86, 1)
  ;sendMessage(0x0104, 86, 1, , "ahk_exe notepad++.exe")
    ;msgbox(111)
  ;Send("{numpad0 down}")
  ;send("{tab down}")
  ;Sleep(50)
  ;Send("{numpad0 up}")
  ;Send("{tab up}")
  ;click
   ;msgbox(222)
  ;send("{vkFFsc144}")
  ;send("{esc}")
  send("{Q down}")
  sleep(40)
  send("{Q up}")
  sleep(40)
  MsgBox(111)
}

main(){
  HotKey("i", keyFunc1)
  HotKey("~f", keyFunc1)
}

main()
